//
//  MLZCommuityDetalisTableViewCell.m
//  MotherLover
//
//  Created by lanou on 16/1/10.
//  Copyright © 2016年 zj. All rights reserved.
//

#import "MLZCommuityDetalisView.h"

@implementation MLZCommuityDetalisView


- (instancetype)initWithFrame:(CGRect)frame{
    self= [super initWithFrame:frame];
    if(self){
    //楼顶标题
        _labeleTitle = [[UILabel alloc]initWithFrame:CGRectMake(CLandR, CTandB, (KW-CLandR*2), 30)];
        _labeleTitle.numberOfLines= -1;
        //_labeleTitle.backgroundColor = [UIColor blackColor];
        _labeleTitle.font = [UIFont systemFontOfSize:20];
        _labeleTitle.textColor = [UIColor redColor];
        [self addSubview:_labeleTitle];
        //时间
        _lableTime = [[UILabel alloc]initWithFrame:CGRectMake(_labeleTitle.frame.origin.x, _labeleTitle.bottom+CLandR, (KW-CLandR*2)/2, _labeleTitle.height/2)];
        //_lableTime.backgroundColor = [UIColor blackColor];
        _lableTime.textColor= [UIColor grayColor];
        _lableTime.font = [UIFont systemFontOfSize:12];
        [self addSubview:_lableTime];
        //评论人数
        _lableNumber = [[UILabel alloc]initWithFrame:CGRectMake(KW-CLandR-70, _lableTime.frame.origin.y, 70, _lableTime.height)];
        //_lableNumber.backgroundColor = [UIColor blackColor];
        _lableNumber.font = [UIFont systemFontOfSize:12];
        [self addSubview:_lableNumber];
        
        
    
    
    }


    return self;


}


@end
